home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / e / misc.txt / 000029_wesley.baker@west.com_Tue Dec 12 17:29:57 2006.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: reader2.panix.com!reader1.panix.com!panix!newsfeed.media.kyoto-u.ac.jp!newshub.sdsu.edu!postnews.google.com!16g2000cwy.googlegroups.com!not-for-mail
  2. From: "Wesley Baker" <wesley.baker@west.com>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Kermit 95 dialstatus
  5. Date: 12 Dec 2006 12:21:49 -0800
  6. Organization: http://groups.google.com
  7. Lines: 40
  8. Message-ID: <1165954909.794452.7260@16g2000cwy.googlegroups.com>
  9. NNTP-Posting-Host: 199.38.51.134
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset="iso-8859-1"
  12. X-Trace: posting.google.com 1165954915 4461 127.0.0.1 (12 Dec 2006 20:21:55 GMT)
  13. X-Complaints-To: groups-abuse@google.com
  14. NNTP-Posting-Date: Tue, 12 Dec 2006 20:21:55 +0000 (UTC)
  15. User-Agent: G2/1.0
  16. X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe)
  17. Complaints-To: groups-abuse@google.com
  18. Injection-Info: 16g2000cwy.googlegroups.com; posting-host=199.38.51.134;
  19.    posting-account=e6lq9g0AAAC5ZP3ZkPBpNl5NjQkeUjSI
  20. Xref: panix comp.protocols.kermit.misc:15599
  21.  
  22. Hello all -
  23.  
  24. I am a complete newbie to Kermit and have been tooling around with it
  25. the past few days trying to write a script that will call a set of
  26. numbers and return the status of each.  The problem I keep running in
  27. to is the limited information I am getting back from dialstatus.  If I
  28. use the pdial function to dial the numbers, it will return a status 11
  29. (OK) every time, whether it is a good number or not.  If I use the dial
  30. function, I get a successful BUSY test, but it will return NO ANSWER,
  31. even if the call was picked up.
  32.  
  33. Frank suggested earlier that I read up on the pager example on the
  34. Kermit website at http://www.columbia.edu/kermit/pagers.html, but I run
  35. into the same problems.
  36.  
  37. The absolute bare minimum this script has to accomplish is to be able
  38. to tell whether a human voice answers the line, whether a triple tone
  39. is detected, a busy signal, or no answer.  Is Kermit capable of this?
  40.  
  41. Here is the script I've been testing.  Any help or direction would be
  42. much appreciated:
  43.  
  44. #set modem hangup-method modem-command
  45. set modem type generic-high-speed
  46. set port com5
  47. set speed 2400
  48. set flow rts/cts
  49. set dial retries 0
  50. #set dial timeout 30
  51. set dial display on
  52. .number := "99032222222@"
  53.  
  54. dial \m(number)
  55. .result1 := \v(dialstatus)
  56. .result2 := \v(status)
  57. echo Dial status: \m(result1)
  58. echo Status: \m(result2)
  59. pause 2
  60. hangup
  61.